﻿namespace EveKillboard.Core
{
    using System.ComponentModel.DataAnnotations;
    using Base;
    using Interfaces;
    using System;

    public class Alliance : EntityBase, IAlliance, IComparable
    {
        [NotMapped]
        public override bool? IsStructure
        {
            get { return false; }
            set { }
        }
        [NotMapped]
        public override int? LastKnowParentId
        {
            get { return null; }
            set { }
        }
        
        public int CompareTo(object obj)
        {
            var alliance = obj as Alliance;
            return alliance != null ? alliance.Id.CompareTo(Id) : 0;
        }

    }
}